home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / e / amigae31apart2.lha / Amiga_E_v3.1a / Src / Guide / while.e < prev   
Encoding:
Text File  |  1994-12-14  |  144 b   |  10 lines

  1. PROC main()
  2.   DEF x,y
  3.   x:=1
  4.   y:=2
  5.   WHILE (x<10) AND (y<10)
  6.     WriteF('x is \d and y is \d\n', x, y)
  7.     x:=x+2
  8.     y:=y+2
  9.   ENDWHILE
  10. ENDPROC